package com.xxx.study.designmodel.c抽象工厂模式;

/**
 * 组合方案1 AMDCpu + 华为主板
 */
public class AbstractFactoryScheme2 implements AbstractFactory {

    public CPUApi createCPU() {
        return new AmdCPU(99);
    }

    public MainBoardApi createMainBoard() {
        return new HuWeiMainBoard(2);
    }
}
